package es.seam.myebay.util;

import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.AutoCreate;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;


@Name("navigator")
@Scope(ScopeType.APPLICATION)
@AutoCreate
public class Navigator {

    public static String SUCCESS = "success";
    public static String FAILURE = "failure";
    public static String CANCEL  = "cancel";
    
    public String getSuccess() {
        return Navigator.SUCCESS;
    }
    
    public String getFailure() {
        return Navigator.FAILURE;
    }
    
    public String getCancel() {
        return Navigator.CANCEL;
    }
}
